package com.nowoe.data.io;

import java.io.InputStream;

/**
 * @author 倚栏听风 2023/9/14 15:15
 */
public class Resources {
    /**
     * 加载配置文件获得字节流
     *
     * @return InputStream
     */
    public static InputStream getResourceStream(String path) {
        return Resources.class.getClassLoader().getResourceAsStream(path);
    }
}
